package com.mo.lib


/**
 * @ author：mo
 * @ data：2021/9/17:10:21
 * @ 功能：
 */
enum class AppMarkers(var markerName: String,var markerPath: String) {
    QQ("应用宝","com.tencent.android.qqdownloader"),
    HUAWEI("华为应用市场","com.huawei.appmarket"),
    XIAOMI("小米应用商店","com.xiaomi.market"),
    MEIZU("魅族应用市场","com.meizu.mstore"),
    VIVO("VIVO应用商店","com.bbk.appstore"),
    OPPO("OPPO应用商店","com.oppo.market"),
    SAMSUN("三星应用商店","com.sec.android.app.samsungapps"),
    LENOVO("联想应用商店","com.lenovo.leos.appstore"),
    ZTE("中兴应用商店","zte.com.market"),
    COOL("酷派应用商店","com.yulong.android.coolmart"),
    QIHUA360("360手机助手","com.qihoo.appstore"),
    BAIDU("百度手机助手","com.baidu.appsearch"),
    BAIDU91("百度91手机助手","com.dragon.android.pandaspace"),
    WANDOUJIA("豌豆荚","com.wandoujia.phoenix2"),
    TAOBAO("淘宝手机助手","com.taobao.appcenter"),
    PP("淘宝PP手机助手","com.pp.assistant"),
    ANZHI("安智应用商店","com.hiapk.marketpho"),
    GO("GO商店","cn.goapk.market"),
    SOGOU("搜狗应用市场","com.sogou.androidtool"),
    GOOGLE("Google Play","com.android.vending"),
    YINGYONGHUI("应用汇","com.yingyonghui.market"),
    GFAN("机锋应用市场","com.mappn.gfan"),

    DEFULT("应用市场","")
}

enum class Pays(var packetName: String) {
    QQ("com.tencent.mobileqq"), //qq支付
    WEIXIN("com.tencent.mm"), //微信支付
    ZHIFUBAO("com.eg.android.AlipayGphone") //支付宝
}

enum class MAPS(var packetName: String) {
    BAIDU("com.baidu.BaiduMap"), //百度地图
    GAODE("com.autonavi.minimap"), //高德地图
    QQ("com.tencent.map"), //腾讯地图
    GOOGLE("com.google.android.apps.maps") //谷歌地图
}
enum class Orientation {
    //上
    TOP,  //下
    BOTTOM,  //左
    LEFT,  //右
    RIGHT,  //左上
    LEFT_TOP,  //左下
    LEFT_BOTTOM,  //右上
    RIGHT_TOP,  //右下
    RIGHT_BOTTOM
}

/** 时间单位*/
enum class TimesUnit {
    /** 毫秒*/
    MSEC,

    /** 秒*/
    SEC,

    /** 分*/
    MIN,

    /** 小时*/
    HOUR,

    /** 天*/
    DAY
}


/** 打印枚举值*/
inline fun <reified T : Enum<T>> printAllValues() {
    print(enumValues<T>().joinToString { it.name })
}